<template>
  <div>
    <!--单选框 -->
    <el-table :data="data" class="tableBox" border style="width: 100%">
      <el-table-column v-for="(item, i) in tabcolum" :key="i" :prop="item.prop" align="center" show-overflow-tooltip :label="item.name" :width="item.width">
        <!-- :fixed="i == 0" -->
      </el-table-column>
      <div>
        <slot />
      </div>
    </el-table>
    <!--  -->
  </div>
</template>

<script>
export default {
  props: ['data', 'colum', 'type'],
  data() {
    return {
      tableData: [{ createAt: '12321312' }, {}],
      tabcolum: []
    }
  },
  mounted() {
    this.tabcolum = this.colum
  }
}
</script>

<style></style>
